---
title: LinearProgress
description: A Jetpack Compose LinearProgress component for displaying linear progress indicators.
sourceCodeUrl: 'https://github.com/expo/expo/tree/main/packages/expo-ui'
packageName: '@expo/ui'
platforms: ['android']
---

import APISection from '~/components/plugins/APISection';
import { APIInstallSection } from '~/components/plugins/InstallSection';
import { ContentSpotlight } from '~/ui/components/ContentSpotlight';
import { Tabs, Tab } from '~/ui/components/Tabs';

A linear progress indicator component for displaying progress in a horizontal bar format.

## Installation

<APIInstallSection />

## Usage

<Tabs>
  <Tab label="Preview">
    <ContentSpotlight
      alt="LinearProgress component on Android."
      src="/static/images/expo-ui/linearprogress/android.png"
      className="max-w-[380px]"
    />
  </Tab>
  <Tab label="Code">
    ```tsx
    import { LinearProgress } from '@expo/ui/jetpack-compose';

    <LinearProgress progress={0.5} style={{ width: 300 }} color="red" />
    ```

  </Tab>
</Tabs>

> See [official Jetpack Compose documentation](https://developer.android.com/develop/ui/compose/components/progress) for more information.

## API

<APISection packageName="expo-ui/jetpack-compose/linearprogress" apiName="LinearProgress" />
